﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcProgramCourse.ascx.cs"
    Inherits="SARS.UserControl.UcProgramCourse" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <table class="style1">
            <tr>
                <td class="leftLabel">
                    <asp:Label ID="Label1" runat="server" Text="Program:"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlPrograms" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPrograms_OnSelectedIndexChanged"
                        DataTextField="ProgramName" DataValueField="ProgramID" Width="250px">
                    </asp:DropDownList>
                    <%--<asp:RequiredFieldValidator ID="rfvProgram" runat="server" 
                        ControlToValidate="ddlPrograms" ErrorMessage="Please select program" 
                        ForeColor="Red"></asp:RequiredFieldValidator>--%>
                </td>
            </tr>
            <tr>
                <td class="leftLabel">
                    <asp:Label ID="Label2" runat="server" Text="Course:"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlCourses" runat="server" AutoPostBack="True" DataTextField="CourseName"
                        DataValueField="CourseID" OnSelectedIndexChanged="ddlCourses_OnSelectedIndexChanged" Width="250px">
                    </asp:DropDownList>
                    <%--<asp:RequiredFieldValidator ID="Course" runat="server" 
                        ErrorMessage="Please select course" ForeColor="Red"></asp:RequiredFieldValidator>--%>
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
